import { NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
import { RouterModule } from '@angular/router';

import { FinderSharedModule } from 'app/shared';
import {
    WarningComponent,
    WarningDetailComponent,
    WarningUpdateComponent,
    WarningDeletePopupComponent,
    WarningDeleteDialogComponent,
    warningRoute,
    warningPopupRoute
} from './';

const ENTITY_STATES = [...warningRoute, ...warningPopupRoute];

@NgModule({
    imports: [FinderSharedModule, RouterModule.forChild(ENTITY_STATES)],
    declarations: [
        WarningComponent,
        WarningDetailComponent,
        WarningUpdateComponent,
        WarningDeleteDialogComponent,
        WarningDeletePopupComponent
    ],
    entryComponents: [WarningComponent, WarningUpdateComponent, WarningDeleteDialogComponent, WarningDeletePopupComponent],
    schemas: [CUSTOM_ELEMENTS_SCHEMA]
})
export class FinderWarningModule {}
